package dcc.persistence;

import java.util.List;

import dcc.model.Dictionary;
import dcc.model.DictionaryItem;

public interface DictionaryMapper {

	List<Dictionary> selectAllKey();

	List<DictionaryItem> selectValuesByKey(int key);

	void updateItem(DictionaryItem item);

	void insertItem(DictionaryItem item);

	void deleteById(int id);

	Dictionary selectByKey(String key);

}
